<template>
	<view class="wallet" >
		<view class="wallet-content">
			<view class="wallet-top">
				开票历史
				<img @click="back" src="@/static/img/common_btn_return_n.png" style='width: 10px;height: 19px;' alt="">
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		<view class="history-item">
			<view class="history-item-1">
				<img src="@/static/img/wallet_icon_clock.png" style='width: 6px;height: 6px;'/><span>2020年12月12日</span>
				<view>已出票</view>
			</view>
			<view class="history-item-2">
				出行服务<span>电子发票</span>
				<view>40.23元</view>
			</view>
			<view class="history-item-3">
				<span>重发发票和行程单</span>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default{
		methods:{
			back(){
				uni.navigateBack({
					delta:1
				})
			},
		}
	}
</script>

<style>
	.wallet{
			width: 100%;
			position: relative;
			background-color: #F2F4F7;
			height: 100%;
			overflow: auto;
		}
		.wallet-content{
			background-color: #fff;
		}
		.wallet-top img{
				position: absolute;
				left: 0px;
				top: 26px;
				padding: 12px;
			}
		.wallet-top img:active{
			  background-color: #eee;
		}
		.wallet-top{
			background-color: #fff;
			font-size: 16px;
			color: #35374b;
			text-align: center;
			height: 80px;
			line-height: 100px;
			border-bottom: 1px solid #DEDFE2;
		}
		.wallet-box{
			background-color: #fff;
			margin: 12px;
			background-color: #3d9bfe; /* 不支持线性的时候显示 */
			background-image: linear-gradient(to bottom right, #ff843e , #fe4447);
			border-radius: 10px;
			padding: 30px 24px 0px 24px;
			color: #fff;
			font-size: 14px;
		}
		.wallet-item:hover{
			background-color: #eee;
		}
		.wallet-box-content b{
			font-weight: 400;
			line-height: 80px;
			font-size: 39px;
			color: #fff;
		}
		.wallet-box-content span{
			font-size: 14px;
		}
		.wallet-box-right{
			float: right;
		}
		.chongzhi{
			height: 30px;
			line-height: 30px;
			font-size: 15px;
			background-color: #fff;	
			color: #fe4f52;
			border-radius: 20px;
			width: 90px;
			text-align: center;
		}
		.tuikuan{
			line-height: 14px;
			font-size: 14px;
			color: #ffffff;
			opacity: 0.9;
			margin-top: 20px;
			text-align: center;
		}
		hr{
			border: none;
			height: 6px;
			background-color: #f2f4f7;
		}
		.wallet-item{
			background-color: #fff;
			height: 60px;
			border-bottom: 1px solid #e1e1e3;
			margin: 0 12px 0 12px;
			padding-left: 10px;
			font-size: 15px;
			color: #35374B;
			line-height: 60px;
		}
		.wallet-item-right{
			float: right;
			font-size: 14px;
			color: #abacb4;
		}
		.wallet-item-right img{
			float: right;
			margin-top: 21px;
			margin-left: 6px;
			margin-right: 5px;
		}
		.wallet-item-end{
			height: 28px;
		}
	.history-item{
		border-radius: 4px;
		margin: 12px;
		background-color: #fff;
	}
	.history-item-1{
		padding: 15px 10px;
	}
	.history-item-1 img{
		float: left;
		margin-top: 9px;
		margin-right: 7px;
	}
	.history-item-1 span{
		color: #949799;
		font-size: 10px;
	}
	.history-item-1 view{
		float: right;
		color: #949799;
		font-size: 10px;
		margin-top: 3px;
	}
	.history-item-2{
		padding-left: 24px;
		padding-right: 10px;
		color: #35374B;
		font-size: 14px;
	}
	.history-item-2 view{
		float: right;
	}
	.history-item-2 span{
		border: 1px solid #adb0b3;
		border-radius: 4px;
		color: #949799;
		font-size: 10px;
		padding: 2px;
		margin-left: 5px;
	}
	.history-item-3{
		height: 40px;
		background-color: #e6e8eb;
		border-radius: 0 0 4px 4px;
		text-align: right;
		line-height: 40px;
		margin-top: 15px;
		
	}
	.history-item-3 span{
		border-radius: 16px;
		font-size: 12px;
		padding: 3px 12px;
		margin-right: 12px;
		color: #35374b;
		border: 1px solid #35374b;
	}
</style>
